package com.lpc.android.abc.main.mvp;

import com.lpc.android.abc.base.base.IModel;
import com.lpc.android.abc.base.base.IView;
import com.lpc.android.abc.base.bean.HomeCampaign;
import com.lpc.android.abc.base.bean.Ware;

import java.util.List;
import java.util.Map;

import io.reactivex.Flowable;


/**
 * Created by lipc0113 on 2017/6/16 0016.
 */

public interface MainContract {

    interface HomeInfoView extends IView {
        void homeInfoSuccess(List<HomeCampaign> lists);

        void homeInfoFail(String fail);
    }

    interface WareListView extends IView {

        void waresListSuccess(Ware ware, boolean isRefresh);

        void waresListFail(String fail, boolean isRefresh);
    }

    /*interface Model extends IModel {

        Flowable<List<HomeCampaign>> getHomeInfo();

        Flowable<Ware> getWaresList(Map<String, String> map);

    }*/

}
